package cn.tedu.tmall.admin.mall.startup;

import cn.tedu.tmall.admin.mall.service.ICategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

@Component
public class CustomRunner implements ApplicationRunner {
    @Autowired
    private ICategoryService service;
    @Override
    public void run(ApplicationArguments args) throws Exception {
        /*service.rebuildCache();*/
    }
}
